<!--
 * @Author: @yzcheng
 * @Date: 2021-03-10 15:31:00
 * @Version: 1.0
 * @LastEditors: @yzcheng
 * @Description: 
 * @LastEditTime: 2021-03-13 17:51:28
-->
<template>
  <div class="right_main">
    <div class="right_content">
      <h3>当前选择{{ userList.length }}项</h3>
      <br />
      <el-tag v-for="(item, index) in userList" :key="index" type="success">{{
        item.username
      }}</el-tag>
    </div>
  </div>
</template>

<script>
import { mapMutations } from "vuex";
export default {
  inject: ["userList"],
  data() {
    return {};
  },
  // updated() {},
  components: {},

  computed: {},

  methods: {
    ...mapMutations("flowTaskStore", ["setUserCode"]),
  },
};
</script>
<style lang='scss' scoped>
.right_main {
  height: 100%;
  .right_content {
    margin-left: 20px;
    padding: 10px;
    width: 250px;
    height: 90%;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}
</style>